

function openConfirm(projectTypeId){
	$.openConfirmAlert("确认删除","确认要删除这条数据吗？",function(){
		deleteFun(projectTypeId);
	});
}

function deleteFun(arg){
	var aj = $.ajax( {    
			async:false,
		    url:'/exam/projecttype/delete.json',// 跳转到 action    
		    data:{"projectTypeId":arg},    
		    type:'get',    
		    cache:false,    
		    dataType:'text',    
		    success:function(data) {    
		    	if(data){
		    		setTimeout("location.replace(location.href)","1000");
		    	}
		    },    
		    error : function() {    
	          alert("异常！");    
		    }    
		});  


}
